package com.da.mybatis.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.da.mybatis.common.BaseBean;

/**
 * user
 *
 * @author chenlida
 * @version 1.0.0 2021-05-29
 */
@ApiModel(description = "user")
@TableName("user")
public class User extends BaseBean {
    /** 版本号 */
    private static final long serialVersionUID = 8804869523676364578L;

    /* This code was generated by TableGo tools, mark 1 begin. */

    @ApiModelProperty(value = "", position = 1)
    @TableId
    private Integer id;

    @ApiModelProperty(value = "", position = 2)
    private String name;

    @ApiModelProperty(value = "", position = 3)
    private Integer age;

    @ApiModelProperty(value = "", position = 4)
    private String email;

    /* This code was generated by TableGo tools, mark 1 end. */

    /* This code was generated by TableGo tools, mark 2 begin. */

    /**
     * 获取id
     * 
     * @return id
     */
    public Integer getId() {
        return this.id;
    }

    /**
     * 设置id
     * 
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取name
     * 
     * @return name
     */
    public String getName() {
        return this.name;
    }

    /**
     * 设置name
     * 
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取age
     * 
     * @return age
     */
    public Integer getAge() {
        return this.age;
    }

    /**
     * 设置age
     * 
     * @param age
     */
    public void setAge(Integer age) {
        this.age = age;
    }

    /**
     * 获取email
     * 
     * @return email
     */
    public String getEmail() {
        return this.email;
    }

    /**
     * 设置email
     * 
     * @param email
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /* This code was generated by TableGo tools, mark 2 end. */
}